<?php

namespace App\Admin\Requests\Application\Application;


use App\Commons\Requests\BaseFormRequest;

class ApplicationStoreRequest extends BaseFormRequest {
    public function rules() {
        return [
            'name'            => 'required|string|max:255',
            'status'          => 'required|integer|in:0,1',
            'ip_limit_switch' => 'required|integer|in:0,1',
            'ip_limit_list'   => 'string|max:600',
            'desc'            => 'string|max:191',
        ];
    }
}